<?php
if ( function_exists('register_sidebar') )
	register_sidebar(array(
		'before_widget' => '<li id="%1$s" class="widget %2$s">',
		'after_widget' => '</li>',
		'before_title' => '<h2 class="widgettitle">',
		'after_title' => '</h2>',
	));

// No CSS, just IMG call
define('HEADER_TEXTCOLOR', '');
define('HEADER_IMAGE', '%s/images/dimple.jpg'); // %s is theme dir uri
define('HEADER_IMAGE_WIDTH', 190);
define('HEADER_IMAGE_HEIGHT', 190);
define('NO_HEADER_TEXT', true );

function _admin_header_style() {
?>
<style type="text/css">
#headimg {
	height: <?php echo HEADER_IMAGE_HEIGHT; ?>px;
	width: <?php echo HEADER_IMAGE_WIDTH; ?>px;
}

#headimg h1, #headimg #desc {
	display: none;
}

</style>
<?php
}

function _header_style() {
?>
<style type="text/css">
#picture{
	float:right;
	width: 217px;
	height: 250px;
	background:url(<?php header_image() ?>) top left no-repeat;
	background-position: 15px 18px;
}
</style>
<?php
}

add_custom_image_header('_header_style', '_admin_header_style');
?>
